package com.bj.disc.util

import com.bj.disc.util.DiscConstants.DOWNLOAD_FILE_STATIC_DIR

object FilePath {

    ///sdcard/Android/data/com.bj.disc/files
    //https://blog.csdn.net/guo_lei_lamant/article/details/127403936
    //// path == "/storage/emulated/0"
    var rootDir=  DOWNLOAD_FILE_STATIC_DIR+"static"

    fun getPath(path:String,fileName:String):String{
        return rootDir+path+fileName
    }

    //static\uot\level1
    fun getUotPath(level:String?=null):String{
        return rootDir+"/uot/"+level
    }
    fun getOcPath(level:String?=null):String{
        return rootDir+"/oc/"+level
    }

}